﻿@model LayuiDemo.ViewModels.BlogVMs.BlogListVM
@inject IStringLocalizer<Program> Localizer;


<wt:searchpanel vm="@Model" reset-btn="true" wt-size="Mini">
	<wt:row items-per-row="ItemsPerRowEnum.Four">
		<wt:textbox field="Searcher.Url"
					label-text="这是一个超级长的名字"
					trim="true"
					clearable="true"
					font-size="Big"
					font-color="Red"
					is-auto-select="true"
					is-triggersearch="true" />
		<wt:textbox field="Searcher.Name" />
		<wt:datetime field="Searcher.CreateTime" />
		<wt:radio field="Searcher.RadioTest" />
	</wt:row>

	<wt:searchpanel-more>
		<wt:checkbox field="Searcher.CheckTest" colspan="4" change-func="ch" />
		<wt:switch field="Searcher.SwitchTest" default-value="true" />
	</wt:searchpanel-more>
</wt:searchpanel>
<h1>@ViewBag.Name</h1>
<h1>@ViewBag.Age</h1>
<wt:grid vm="@Model" is-autosearch="false"
		 size="DataTableSizeEnum.SM" merge="Name"
		 url="/Blog/Search" />
<script>
	function ch(obj) {
		console.log(obj);
	}
</script>